Your browser doesn't support scripts!
Insoler Community・Photos
Join or Login
Home
News
Articles
Blogs
Forums
Photos
Blog
Profile
Info
Friends
Blog
Sounds
Videos
Files
Photos
Groups
Timeline
email
facebook
linkedin
twitter
C++物件導向程式設計
C++ 物件導向程式設計:incldemo.cpp、brent.h、CONVAMI.H、CONVWORD.H
// File Name : incldemo.cpp#include <brent.h>void func();void main(){ int a = 10; int huge *p = &a; cout << "Hello !\n"; cout << sizeof(p) << *p; func();} /* brent.h -- Brent header declarations Copyright (c) 1990, 1994
…
蘇言霖
2013/09/11
0
5410
C++ 物件導向程式設計:4.陣列與指標
物件導向程式設計 蘇言霖 4. 陣列與指標 ■ 一般陣列與物件陣列所謂陣列(array) 就是相同型別資料的集合,比如整數陣列、字串陣列、結構陣列、物件陣列等。例如: int apple[120]; //記錄一箱蘋果 book Acer[5678]; //記錄宏碁的圖書 C++ 陣列的用法和C 語言完全相同, 120 是指陣列的個數,元素範圍是 0-119 。C++ 不會檢查陣列元素是否有超過範圍,如果使用 apple[120] 或 apple[130] C 和C++ 都允許,但不會得到正確結果。不
…
蘇言霖
2013/09/10
0
7055
C++ 物件導向程式設計:3. 資料結構和類別
物件導向程式設計 蘇言霖 3. 資料結構和類別 在正式介紹C++ 的類別之前,讓我們先談談C 和 C++ 對於結構的看法。 ■ 資料結構 如果我們希望為一本書定義一個新的資料型別,在 C 語言可以寫: typedef struct book { char writer[20]; // 作者 char name[100]; // 書名 unsigned int price; // 售價 } book; // book 是新的資料結構型別 book c1, c2,
…
蘇言霖
2013/09/10
0
5072
Actions
RSS
Overview
蘇言霖
「超級懶貓級」社群網站站長
蘇言霖的部落格
Categories
App應用程式
(1 posts)
C++物件導向程式設計
(3 posts)
Mac OS X
(39 posts)
Office
(4 posts)
伺服器
(52 posts)
網際網路
(5 posts)
電腦DIY
(7 posts)
電腦書
(121 posts)
電腦程式
(14 posts)
電腦資訊
(10 posts)
電腦雜誌稿件
(38 posts)
Tags
256GB SSD
Apple
BNW
BOONEX
C++ 物件導向程式設計
CAPTCHA
DolphinPro
EV SSL
FortiGate
IPv6
Mac OS X
Mac mini
MySQL
OS X
Office
Office 2011
Retina Display
Windows
Windows Server
Word
Are you sure?
Yes
No
Please, enter a value here
OK
Cancel